package com.dm.cloud.auth.common.po;

import com.dm.cloud.basepo.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
   * @author hcx
   * @type AuthRole.java
   * @desc AuthRole
   */

@Entity
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_AUTH_ROLE")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "AuthRole")
public class AuthRole extends BasePo {

      /** 角色名称 **/ 
      @Schema(description = "角色名称")
      @Column(name = "name")
      private String name;

      /** 角色描述 **/
      @Schema(description = "角色描述")
      @Column(name = "remark")
      private String remark;


}
